digit logic

数位逻辑